package com.cos.lession72.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: COS
 * @time: 2022/9/28 11:44
 * @description:
 */
@Controller
@RequestMapping("/first")
public class FirstController {



    //first/hello
    @RequestMapping("/hello")
    public String hello(){
        System.out.println("哈哈");
        return "";
    }

    @RequestMapping("/a/b/c")
    public String t1(){
        System.out.println("呵呵");
        return "哈哈";
    }
//    @RequestMapping("/emp/add")
//    @RequestMapping("/dept/add")





}
